Fix timestamp error in redirects (fails in particularly ugly fashion on Windows server)
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 6 Mar 2004 09:34:05 +0000 (09:34 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 6 Mar 2004 09:34:05 +0000 (09:34 +0000)
includes/OutputPage.php

index eaea95c..c6cc144 100644 (file)
@@ -247,8 +247,7 @@ class OutputPage {
                                if( !$wgDebugRedirects ) {
                                        header("HTTP/1.1 {$this->mRedirectCode} Moved Permanently");
                                }
-                               $this->mLastModified = gmdate( "D, j M Y H:i:s", wfTimestamp2Unix(
-                                       max( $timestamp, $wgUser->mTouched ) ) ) . " GMT";
+                               $this->mLastModified = gmdate( "D, j M Y H:i:s" ) . " GMT";
                        }
                         
                        $this->sendCacheControl();